package com.imooc.distributedemo.resume.proxy;

public class DoCGlib {
    public static void main(String[] args) {
        CglibProxy proxy = new CglibProxy();
        // 通过生成子类的方式创建代理类
        UserServiceImpl proxImpl = (UserServiceImpl)proxy.getProxy(UserServiceImpl.class);
        proxImpl.add();
    }
}
